package com.ayf.payment.game.api.mapper.platform;

import com.ayf.payment.game.api.dto.platform.criteria.SubstitutePayCriteria;
import com.ayf.payment.game.api.entity.platform.SubstitutePayConfig;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SubstitutePayConfigMapper extends Mapper<SubstitutePayConfig> {

    SubstitutePayConfig getSubstitutePayConfigByChannelCode(@Param("type") Integer payType);

    List<SubstitutePayConfig> getListSubstitutePayConfigByChannelCode(@Param("cri") SubstitutePayCriteria substitutePayCriteria);
}